<template>
	<view class='content'>
		<button type="primary" @click="goToLogin" class="login-btn">登录注册</button>
		<navigator url="/pages/demos/CityDiscovery/CityDiscovery">
			<button class="login-btn">城市探索</button>
		</navigator>
		<navigator url="/pages/cardViewPage/cardViewPage">
			<button class="login-btn">新闻卡片</button>
		</navigator>
		<navigator url="/pages/IntentPage/IntentPage">
			<button class="login-btn">组件传值</button>
		</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goToLogin(){
				uni.navigateTo({
					url:'/pages/login/login'
				})
			}
		}
	}
</script>

<style>

</style>
